package com.shop.shard.service.product;

import com.shop.shard.entity.product.Product;
import com.shop.shard.vo.product.ProductVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
/**
* @Description: TODO
* @author:
* @Createed Date: 2018/11/21-10:26
* @ModificationHistory: Who  When  What
* ---------     -------------   --------------------------------------
**/
public interface ProductService {


    /**
    * delete
    * @param ids 分页page
    * @return 分页数据
    */
    void delete(Integer[] ids);

    /**
     * add
     * @param entity
     */
    void addEntity(Product entity);

     /**
     * updateEntity
     * @param entity
     */
    void updateEntity(Product entity);
}